<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="java.util.*,model.*,util.*,control.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/front.css" rel="stylesheet" type="text/css" />
<link href="../../css/frontstyle.css" rel="stylesheet" type="text/css" />
  <title>心灵呵护-心理案例</title>
  </head>
  <body> 
<div id="fronttop">
  <div class="fronttou">
    <img src="../../pictures/shidaxiaohui.jpg" width="149" height="105" />
    东师心灵港湾
</div>
  <div id="fronttopnavigation">
    <table width="995" height="50" border="0" align="center">
      <tr>
        <td width="71"><div align="center" ><span class="STYLE2" ><a href="../index.jsp">首页</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shiwutongzhi/huodonggonggao.jsp">事务通知</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xiaoyuandongtai/sheliandongtai.jsp">校园动态</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../shehuixinwen/shetuanxinwen.jsp">社会新闻</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinlinghehu/xinlinghehu.jsp">心灵呵护</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../xinliceshi/xinliceshi.jsp">心理测试</a></span></div></td>
        <td width="71"><div align="center" ><span  class="STYLE2"><a href="../../resources/resources_download.jsp">文件下载</a></span></div></td>
        <td width="71"><div align="center"><span  class="STYLE2"><a href="../woyaoliuyan/woyaoliuyan.jsp">我要留言</a></span></div></td>
      </tr>
    </table>
  </div>
  </div>
<div id="frontarticle">
  <div id="frontarticlelefthot">
    <table width="236" height="226" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
     <tr >
        <td height="54"><div align="left" style="font-size:20px" class="hengxian">心理案例列表
        <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="xinlinghehu.jsp">返回</a></div></td>
      </tr>
      <tr>
        <td height="54"><div align="center" class="hengxian"><a href="qutu.jsp"><img src="../../pictures/anli.jpg" width="227" height="150" /></a></div></td>
      </tr>
      <%
		int k = 0;
		int tempId =  ParamUtil.getInt(request, "id", 1);
		request.setCharacterEncoding("utf-8");
		int pages = ParamUtil.getInt(request, "pages", 1);
		
		int rowsPerPage = ParamUtil.getInt(request, "pageSize", 20);
		Jingp jingp = new Jingp();
		Jingp jingp1 = new Jingp();
		JingpControl zc = new JingpControl();
		
		List<Jingp>list = new ArrayList<Jingp>();
		list = (List)zc.GetJingp(pages, rowsPerPage);
		jingp1 = zc.GetJingp(tempId);
		for(int i = 0; i<list.size();i++)
		{
			jingp = list.get(i);
			k++;
	%>
      <tr>
        <td height="54"><div align="center" style="height:40px; background:url(../../pictures/hehulan.jpg) repeat-x;"><a href="jingpinghuodong.jsp?id=<%=jingp.getJingpId() %>"><%=jingp.getJingpName() %></a></div></td>
      </tr>
      <%
	    } 
	    %>
    </table>
  </div>
  <div id="frontarticlemain" >
    <table width="700" border="0" cellpadding="0" cellspacing="0" style="word-break:break-all; font-size:20px;" >
      <tr><h2><%=jingp1.getJingpName() %></h2></tr>
      <tr><%=jingp1.getJingptu() %></tr>
       <tr><h4><%=jingp1.getJingpNeirong() %></h4></tr>
     </table>
        <table width="20" height="100" border="0">
            <tr>
              <td width="14">&nbsp;</td>
            </tr>
          </table>
          <td></td>        
  </div>
  <div id="apDiv1">
    <div id="frontcopyright">
      <div></div>
      <div>&nbsp;</div>
      <div>
        <div align="center"> 2012-2050东北师范大学心灵港湾</div>
      </div>
      <div> </div>
      <div>
        <div align="center">制作：杜娟  李行 李世操</div>
      </div>
      <div>&nbsp;</div>
      <div>&nbsp;</div>
    </div>
  </div>
</div>
  </body>
</html>
